package com.example.music.service;

import com.example.music.domain.LogMessage;

import java.util.List;

/**
 * @author lvyongwei
 */
public interface LogMessageService {

    /**
     * 添加日志到数据库
     * @param log
     * @return
     */
    public boolean insertLog(LogMessage log);

    public List<LogMessage> getAll();
}
